#include <stdio.h>

int main(void){
	//Define some integer variables
	int ai = 1L;
	int bi = 2L;
	int ci = 3L;

	//Define some long variables
	long a = 1L;
	long b = 2L;
	long c = 3L;

	//Define some floating-point variables
	double d = 4.0;
	double e = 5.0;
	double f = 6.0;

	printf("A variable of type long occupies %u bytes.\n", sizeof(long));
	printf("\nHere are the address of some variables of type long:");
	printf("\nThe address of a is: %p The address of b is: %p", &a,&b);
	printf("\nThe address of c is: %p", &c);
	printf("\n\n A variable of type double occupies %u bytes.", sizeof(double));
	printf("\nThe address of d is: %p The address of e is: %p",&d,&e);
	printf("\nThe address of f is: %p\n",&f);



	printf("A variable of type int occupies %u bytes.\n", sizeof(int));
	printf("Here are the address of some variables of type int:");
	printf("\nThe address of ai is: %p The address of bi is: %p", &ai,&bi);
	printf("\nThe address of ci is: %p\n", &ci);
	return 0;
}